﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CN.T.Backend.Application.System.Dtos
{
    public class DtoVoucherQuery
    {
        public DtosVoucherQuery dtos { get; set; }
    }
    public class DtosVoucherQuery
    {
        /// <summary>
        /// 外部系统数据单号
        /// </summary>
        public string ExternalCode { get; set; }
        /// <summary>
        /// 凭证类别
        /// </summary>
        public DtoDocType DocType { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public string VoucherDate { get; set; }
        /// <summary>
        /// 会计年度
        /// </summary>
        public string? AccountingYear { get; set; }
        /// <summary>
        /// 年度内期间
        /// </summary>
        public string? AccountingPeriod { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? Maker { get; set; }

    }
    public class DtoDocType
    {
        /// <summary>
        /// 凭证类别名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 凭证类别编码
        /// </summary>
        public string? Code { get; set; }
    }
}
